 
 <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/index.php/my/index/index.html">首页</a><span class="crumb-step">&gt;</span><span class="crumb-step">&gt;</span><span>支付词库</span></div>
        </div>
		
		 <div class="search-wrap">
            <div class="search-content">
                <form action="{:U('System/kouliangpeizhi')}" method="post">
                    <table class="search-tab">
                        <tr>
                           
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn btn-primary btn2" href="{:U('System/addciku')}">现在添加</a></td>
							
						
							
                        </tr>
                    </table>
                </form>
            </div>
        </div>

		
        <div class="result-wrap">
            <div class="result-content">
                <form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody>
						
						  
							
							
						  
						
						   <foreach name="re" item="v">
						
							 <tr>
                                <td>
								
								 {$v.name}
								
								</td>
                                <td>
                                  <a style="cursor:pointer;" onclick="del({$v.id})">删除</a>
                                </td>
                            </tr>
							</foreach>
							
                        
                        </tbody></table>
                </form>
				 <div class="list-page"> {$page}</div>
            </div>
        </div>

    </div>
    <script>
	   
	   function del(i){
	   
	     $.post("{:U('System/delciku')}",{"id":i},function(re){
		 
		   if(re==1){
		   
		     alert('删除成功');location.reload();
		   
		   }else{
		   
		     alert('删除失败');
		   
		   }
		 
		 })
	   
	   }
	
	
	</script>



